package fc.sj.study.kotlinStudy

import android.os.Bundle
import android.support.v7.app.AppCompatActivity

abstract class BaseKotlinActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        beforeinitView()
        getContentViewId()
        initView()
        initData()
        LoadData()
    }
    abstract fun beforeinitView()
    abstract fun getContentViewId() :Int
    abstract fun initView()
    abstract fun initData()
    abstract fun LoadData()
}
